Optimal. Leaf size=153 \[ \frac {3 e \left (-4 c e (a e+2 b d)+3 b^2 e^2+8 c^2 d^2\right ) \tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{4 c^{5/2}}+\frac {9 e^2 \sqrt {a+b x+c x^2} (2 c d-b e)}{2 c^2}+\frac {3 e^2 (d+e x) \sqrt {a+b x+c x^2}}{c}-\frac {2 (d+e x)^3}{\sqrt {a+b x+c x^2}} \]
________________________________________________________________________________________
Rubi [A] time = 0.15, antiderivative size = 153, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.179, Rules used = {768, 742, 640, 621, 206} \begin {gather*} \frac {3 e \left (-4 c e (a e+2 b d)+3 b^2 e^2+8 c^2 d^2\right ) \tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{4 c^{5/2}}+\frac {9 e^2 \sqrt {a+b x+c x^2} (2 c d-b e)}{2 c^2}+\frac {3 e^2 (d+e x) \sqrt {a+b x+c x^2}}{c}-\frac {2 (d+e x)^3}{\sqrt {a+b x+c x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 621
Rule 640
Rule 742
Rule 768
Rubi steps
\begin {align*} \int \frac {(b+2 c x) (d+e x)^3}{\left (a+b x+c x^2\right )^{3/2}} \, dx &=-\frac {2 (d+e x)^3}{\sqrt {a+b x+c x^2}}+(6 e) \int \frac {(d+e x)^2}{\sqrt {a+b x+c x^2}} \, dx\\ &=-\frac {2 (d+e x)^3}{\sqrt {a+b x+c x^2}}+\frac {3 e^2 (d+e x) \sqrt {a+b x+c x^2}}{c}+\frac {(3 e) \int \frac {\frac {1}{2} \left (4 c d^2-e (b d+2 a e)\right )+\frac {3}{2} e (2 c d-b e) x}{\sqrt {a+b x+c x^2}} \, dx}{c}\\ &=-\frac {2 (d+e x)^3}{\sqrt {a+b x+c x^2}}+\frac {9 e^2 (2 c d-b e) \sqrt {a+b x+c x^2}}{2 c^2}+\frac {3 e^2 (d+e x) \sqrt {a+b x+c x^2}}{c}+\frac {\left (3 e \left (8 c^2 d^2+3 b^2 e^2-4 c e (2 b d+a e)\right )\right ) \int \frac {1}{\sqrt {a+b x+c x^2}} \, dx}{4 c^2}\\ &=-\frac {2 (d+e x)^3}{\sqrt {a+b x+c x^2}}+\frac {9 e^2 (2 c d-b e) \sqrt {a+b x+c x^2}}{2 c^2}+\frac {3 e^2 (d+e x) \sqrt {a+b x+c x^2}}{c}+\frac {\left (3 e \left (8 c^2 d^2+3 b^2 e^2-4 c e (2 b d+a e)\right )\right ) \operatorname {Subst}\left (\int \frac {1}{4 c-x^2} \, dx,x,\frac {b+2 c x}{\sqrt {a+b x+c x^2}}\right )}{2 c^2}\\ &=-\frac {2 (d+e x)^3}{\sqrt {a+b x+c x^2}}+\frac {9 e^2 (2 c d-b e) \sqrt {a+b x+c x^2}}{2 c^2}+\frac {3 e^2 (d+e x) \sqrt {a+b x+c x^2}}{c}+\frac {3 e \left (8 c^2 d^2+3 b^2 e^2-4 c e (2 b d+a e)\right ) \tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{4 c^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.22, size = 164, normalized size = 1.07 \begin {gather*} \frac {3 e \left (-4 c e (a e+2 b d)+3 b^2 e^2+8 c^2 d^2\right ) \tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+x (b+c x)}}\right )}{4 c^{5/2}}+\frac {3 c e^2 (2 a (4 d+e x)+b x (8 d-e x))-9 b e^3 (a+b x)-2 c^2 \left (2 d^3+6 d^2 e x-6 d e^2 x^2-e^3 x^3\right )}{2 c^2 \sqrt {a+x (b+c x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 2.35, size = 191, normalized size = 1.25 \begin {gather*} \frac {-9 a b e^3+24 a c d e^2+6 a c e^3 x-9 b^2 e^3 x+24 b c d e^2 x-3 b c e^3 x^2-4 c^2 d^3-12 c^2 d^2 e x+12 c^2 d e^2 x^2+2 c^2 e^3 x^3}{2 c^2 \sqrt {a+b x+c x^2}}-\frac {3 \left (-4 a c e^3+3 b^2 e^3-8 b c d e^2+8 c^2 d^2 e\right ) \log \left (-2 c^{5/2} \sqrt {a+b x+c x^2}+b c^2+2 c^3 x\right )}{4 c^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.77, size = 615, normalized size = 4.02 \begin {gather*} \left [-\frac {3 \, {\left (8 \, a c^{2} d^{2} e - 8 \, a b c d e^{2} + {\left (3 \, a b^{2} - 4 \, a^{2} c\right )} e^{3} + {\left (8 \, c^{3} d^{2} e - 8 \, b c^{2} d e^{2} + {\left (3 \, b^{2} c - 4 \, a c^{2}\right )} e^{3}\right )} x^{2} + {\left (8 \, b c^{2} d^{2} e - 8 \, b^{2} c d e^{2} + {\left (3 \, b^{3} - 4 \, a b c\right )} e^{3}\right )} x\right )} \sqrt {c} \log \left (-8 \, c^{2} x^{2} - 8 \, b c x - b^{2} + 4 \, \sqrt {c x^{2} + b x + a} {\left (2 \, c x + b\right )} \sqrt {c} - 4 \, a c\right ) - 4 \, {\left (2 \, c^{3} e^{3} x^{3} - 4 \, c^{3} d^{3} + 24 \, a c^{2} d e^{2} - 9 \, a b c e^{3} + 3 \, {\left (4 \, c^{3} d e^{2} - b c^{2} e^{3}\right )} x^{2} - 3 \, {\left (4 \, c^{3} d^{2} e - 8 \, b c^{2} d e^{2} + {\left (3 \, b^{2} c - 2 \, a c^{2}\right )} e^{3}\right )} x\right )} \sqrt {c x^{2} + b x + a}}{8 \, {\left (c^{4} x^{2} + b c^{3} x + a c^{3}\right )}}, -\frac {3 \, {\left (8 \, a c^{2} d^{2} e - 8 \, a b c d e^{2} + {\left (3 \, a b^{2} - 4 \, a^{2} c\right )} e^{3} + {\left (8 \, c^{3} d^{2} e - 8 \, b c^{2} d e^{2} + {\left (3 \, b^{2} c - 4 \, a c^{2}\right )} e^{3}\right )} x^{2} + {\left (8 \, b c^{2} d^{2} e - 8 \, b^{2} c d e^{2} + {\left (3 \, b^{3} - 4 \, a b c\right )} e^{3}\right )} x\right )} \sqrt {-c} \arctan \left (\frac {\sqrt {c x^{2} + b x + a} {\left (2 \, c x + b\right )} \sqrt {-c}}{2 \, {\left (c^{2} x^{2} + b c x + a c\right )}}\right ) - 2 \, {\left (2 \, c^{3} e^{3} x^{3} - 4 \, c^{3} d^{3} + 24 \, a c^{2} d e^{2} - 9 \, a b c e^{3} + 3 \, {\left (4 \, c^{3} d e^{2} - b c^{2} e^{3}\right )} x^{2} - 3 \, {\left (4 \, c^{3} d^{2} e - 8 \, b c^{2} d e^{2} + {\left (3 \, b^{2} c - 2 \, a c^{2}\right )} e^{3}\right )} x\right )} \sqrt {c x^{2} + b x + a}}{4 \, {\left (c^{4} x^{2} + b c^{3} x + a c^{3}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.32, size = 347, normalized size = 2.27 \begin {gather*} \frac {{\left ({\left (\frac {2 \, {\left (b^{2} c^{2} e^{3} - 4 \, a c^{3} e^{3}\right )} x}{b^{2} c^{2} - 4 \, a c^{3}} + \frac {3 \, {\left (4 \, b^{2} c^{2} d e^{2} - 16 \, a c^{3} d e^{2} - b^{3} c e^{3} + 4 \, a b c^{2} e^{3}\right )}}{b^{2} c^{2} - 4 \, a c^{3}}\right )} x - \frac {3 \, {\left (4 \, b^{2} c^{2} d^{2} e - 16 \, a c^{3} d^{2} e - 8 \, b^{3} c d e^{2} + 32 \, a b c^{2} d e^{2} + 3 \, b^{4} e^{3} - 14 \, a b^{2} c e^{3} + 8 \, a^{2} c^{2} e^{3}\right )}}{b^{2} c^{2} - 4 \, a c^{3}}\right )} x - \frac {4 \, b^{2} c^{2} d^{3} - 16 \, a c^{3} d^{3} - 24 \, a b^{2} c d e^{2} + 96 \, a^{2} c^{2} d e^{2} + 9 \, a b^{3} e^{3} - 36 \, a^{2} b c e^{3}}{b^{2} c^{2} - 4 \, a c^{3}}}{2 \, \sqrt {c x^{2} + b x + a}} - \frac {3 \, {\left (8 \, c^{2} d^{2} e - 8 \, b c d e^{2} + 3 \, b^{2} e^{3} - 4 \, a c e^{3}\right )} \log \left ({\left | -2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} \sqrt {c} - b \right |}\right )}{4 \, c^{\frac {5}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.06, size = 788, normalized size = 5.15 \begin {gather*} -\frac {9 a \,b^{2} e^{3} x}{\left (4 a c -b^{2}\right ) \sqrt {c \,x^{2}+b x +a}\, c}+\frac {24 a b d \,e^{2} x}{\left (4 a c -b^{2}\right ) \sqrt {c \,x^{2}+b x +a}}+\frac {9 b^{4} e^{3} x}{4 \left (4 a c -b^{2}\right ) \sqrt {c \,x^{2}+b x +a}\, c^{2}}-\frac {6 b^{3} d \,e^{2} x}{\left (4 a c -b^{2}\right ) \sqrt {c \,x^{2}+b x +a}\, c}-\frac {4 b c \,d^{3} x}{\left (4 a c -b^{2}\right ) \sqrt {c \,x^{2}+b x +a}}+\frac {e^{3} x^{3}}{\sqrt {c \,x^{2}+b x +a}}-\frac {9 a \,b^{3} e^{3}}{2 \left (4 a c -b^{2}\right ) \sqrt {c \,x^{2}+b x +a}\, c^{2}}+\frac {12 a \,b^{2} d \,e^{2}}{\left (4 a c -b^{2}\right ) \sqrt {c \,x^{2}+b x +a}\, c}+\frac {9 b^{5} e^{3}}{8 \left (4 a c -b^{2}\right ) \sqrt {c \,x^{2}+b x +a}\, c^{3}}-\frac {3 b^{4} d \,e^{2}}{\left (4 a c -b^{2}\right ) \sqrt {c \,x^{2}+b x +a}\, c^{2}}-\frac {2 b^{2} d^{3}}{\left (4 a c -b^{2}\right ) \sqrt {c \,x^{2}+b x +a}}-\frac {3 b \,e^{3} x^{2}}{2 \sqrt {c \,x^{2}+b x +a}\, c}+\frac {6 d \,e^{2} x^{2}}{\sqrt {c \,x^{2}+b x +a}}+\frac {3 a \,e^{3} x}{\sqrt {c \,x^{2}+b x +a}\, c}-\frac {9 b^{2} e^{3} x}{4 \sqrt {c \,x^{2}+b x +a}\, c^{2}}+\frac {6 b d \,e^{2} x}{\sqrt {c \,x^{2}+b x +a}\, c}+\frac {2 \left (2 c x +b \right ) b \,d^{3}}{\left (4 a c -b^{2}\right ) \sqrt {c \,x^{2}+b x +a}}-\frac {6 d^{2} e x}{\sqrt {c \,x^{2}+b x +a}}-\frac {3 a \,e^{3} \ln \left (\frac {c x +\frac {b}{2}}{\sqrt {c}}+\sqrt {c \,x^{2}+b x +a}\right )}{c^{\frac {3}{2}}}+\frac {9 b^{2} e^{3} \ln \left (\frac {c x +\frac {b}{2}}{\sqrt {c}}+\sqrt {c \,x^{2}+b x +a}\right )}{4 c^{\frac {5}{2}}}-\frac {6 b d \,e^{2} \ln \left (\frac {c x +\frac {b}{2}}{\sqrt {c}}+\sqrt {c \,x^{2}+b x +a}\right )}{c^{\frac {3}{2}}}+\frac {6 d^{2} e \ln \left (\frac {c x +\frac {b}{2}}{\sqrt {c}}+\sqrt {c \,x^{2}+b x +a}\right )}{\sqrt {c}}-\frac {9 a b \,e^{3}}{2 \sqrt {c \,x^{2}+b x +a}\, c^{2}}+\frac {12 a d \,e^{2}}{\sqrt {c \,x^{2}+b x +a}\, c}+\frac {9 b^{3} e^{3}}{8 \sqrt {c \,x^{2}+b x +a}\, c^{3}}-\frac {3 b^{2} d \,e^{2}}{\sqrt {c \,x^{2}+b x +a}\, c^{2}}-\frac {2 d^{3}}{\sqrt {c \,x^{2}+b x +a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (b+2\,c\,x\right )\,{\left (d+e\,x\right )}^3}{{\left (c\,x^2+b\,x+a\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (b + 2 c x\right ) \left (d + e x\right )^{3}}{\left (a + b x + c x^{2}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________